package com.hb.back;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

@SpringBootApplication
@MapperScan(basePackages = {"com.hb.common.mapper","com.hb.back.mapper"})
@EnableWebSecurity
@ComponentScan(basePackages = {"com.hb.back","com.hb.common"})
public class BackApp {
    public static void main(String[] args) {
        SpringApplication.run(BackApp.class,args);
    }
}
